package com.ruoyi.mixuebingcheng.service;

import com.ruoyi.mixuebingcheng.domain.ViewArea;
import com.ruoyi.mixuebingcheng.domain.vo.ViewAreaVo;
import com.ruoyi.mixuebingcheng.domain.bo.ViewAreaBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * VIEWService接口
 *
 * @author ruoyi
 * @date 2023-10-27
 */
public interface IViewAreaService {

    /**
     * 查询VIEW
     */
    ViewAreaVo queryById(String id);

    /**
     * 查询VIEW列表
     */
    TableDataInfo<ViewAreaVo> queryPageList(ViewAreaBo bo, PageQuery pageQuery);

    /**
     * 查询VIEW列表
     */
    List<ViewAreaVo> queryList(ViewAreaBo bo);

    /**
     * 新增VIEW
     */
    Boolean insertByBo(ViewAreaBo bo);

    /**
     * 修改VIEW
     */
    Boolean updateByBo(ViewAreaBo bo);

    /**
     * 校验并批量删除VIEW信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
